package com.llh.bean;

import java.io.Serializable;
import java.util.Date;

public class HzDaily implements Serializable {
    private Date trade_date;

    private Double hz300;

    private static final long serialVersionUID = 1L;

    public Date getTrade_date() {
        return trade_date;
    }

    public void setTrade_date(Date trade_date) {
        this.trade_date = trade_date;
    }

    public Double getHz300() {
        return hz300;
    }

    public void setHz300(Double hz300) {
        this.hz300 = hz300;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        HzDaily other = (HzDaily) that;
        return (this.getTrade_date() == null ? other.getTrade_date() == null : this.getTrade_date().equals(other.getTrade_date()))
            && (this.getHz300() == null ? other.getHz300() == null : this.getHz300().equals(other.getHz300()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getTrade_date() == null) ? 0 : getTrade_date().hashCode());
        result = prime * result + ((getHz300() == null) ? 0 : getHz300().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", trade_date=").append(trade_date);
        sb.append(", hz300=").append(hz300);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}